<%--
  Created by IntelliJ IDEA.
  User: YYY-Work
  Date: 2017/4/27
  Time: 10:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path;
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>AdminLTE | Data Tables</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <link href="../../css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="../../css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">

    <link href="<%=basePath%>/AdminLTE/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
    <script type="text/javascript" src="<%=basePath%>/AdminLTE/js/bootstrap.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="<%=basePath%>/AdminLTE/js/bootstrap-datetimepicker.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="<%=basePath%>/AdminLTE/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>

</head>
<body>

<form action="javascript:searchOrder();" class="form-horizontal" name="searchForm">

    <div class="form-group">
        <lable>订单编号</lable>
        <input type="text" id="registerid" class="input-small">
        <lable>就诊人姓名</lable>
        <input type="text" id="patientName" class="input-small">
        <lable>医生姓名</lable>
        <input type="text" id="accepterName" class="input-small">
        <lable>联系电话</lable>
        <input type="text" id="userContact" class="input-small">
    </div>


    <div class="form-group" style="display: -webkit-inline-flex; display: inline-flex;align-items: center">
        <label>时间筛选</label>
        <div class="input-group date form_datetime col-md-2" data-link-field="dtp_input1" style="margin-left: 15px">
            <input class="form-control" type="text" value="">
             <span class="input-group-addon" id="basic-addon2"><span class="glyphicon glyphicon-time" aria-hidden="true"></span></span>
        </div>
        <input type="hidden" id="dtp_input1" value=""/>
        <label style="margin-left: 15px">至</label>
        <div class="input-group date form_datetime col-md-2" data-link-field="dtp_input2" style="margin-left: 15px">
            <input class="form-control" type="text" value="">
            <span class="input-group-addon" id="basic-addon2"><span class="glyphicon glyphicon-time" aria-hidden="true"></span></span>
        </div>
        <input type="hidden" id="dtp_input2" value=""/>

        <button type="submit" class="btn btn btn-info">查询订单</button>
    </div>
    
    
</form>

</body>

<script type="text/javascript">
    $('.form_datetime').datetimepicker({
        weekStart: 1,
        todayBtn: 1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        autoclose: true,
        format: 'yyyy-mm-dd hh:ii',
        language: 'zh-CN',
    });
</script>
</html>
